#ifndef __STC_EEPROM_HEADER_H__
#define __STC_EEPROM_HEADER_H__
#include <typecomm.h>
#if DEV_PLAT_51_CHIP_TYPE == DEV_PLAT_51_STC32
typedef uint32_t eprmAddrType;
#else
typedef uint16_t eprmAddrType;
#endif
void eepromErase(eprmAddrType addr);
void eepromWrite(eprmAddrType addr, char *wbuf, int wlen);
void eepromRead(eprmAddrType addr, char *rbuf, int rlen);
#endif